package com.core.model;

/**
 * Created with IntelliJ IDEA.
 * User: xf
 * Date: 2017-12-06
 * Time: 21:48
 * To change this template use Editor | File and Code Templates.
 */
public class PaginationInfo {

    public static final int DEFAULT_PAGE_SIZE = 20;
    public static final int DEFAULT_PAGE_NUM = 1;
    private Integer total = 0;      //总页数
    private Integer current = 0;    //当前页
    private Integer per = 0;        //每页条数
    private Integer count = 0;      //总记录条数


    public PaginationInfo() {
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getPer() {
        return per;
    }

    public void setPer(Integer per) {
        this.per = per;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

}
